package com.talkweb.newproject.common.utils;

import java.util.Collection;

/**
 * Created by qiaosaifei on 2019/4/8.
 */
public class ListUtil {

    /**
     * 集合是否为空
     * @param list
     * @return
     */
    public static boolean isEmpty(Collection list) {
        if(list!=null && list.size()>0) {
            return false;
        }else {
            return true;
        }
    }
}
